<!DOCUMENT HTML>
<html>
    <head>
        <title>Lista de Carros</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/default.css">
        <link rel="stylesheet" type="text/css" href="css/menu.css">
        <link rel="stylesheet" type="text/css" href="css/table.css">
    </head>

    <body>
        <div id="container">
            <div id="title">
                <div id="img">
                <img src="css/ico_car.png"/>
                </div>
                <div id="h1">
                <h1>Park Control</h1>
                </div>
            </div>
            <div id="menu">
                <ul class="menu">
                    <li><a href="#" title="Cadastros">Cadastros</a>
                        <ul>
                            <li><a href="newCli.php" target="_parent" >Cadastrar Clientes</a></li>
                            <li><a href="newCar.php" target="_parent">Cadastrar Carros</a></li>
                            <li><a href="newFares.php" target="_parent">Cadastrar Tarifas</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Gerenciar">Gerenciar</a>
                        <ul>
                            <li><a href="newPark.php" target="_parent">Entrada de Carros</a></li>
                            <li><a href="relExitPark.php" target="_parent">Saida de Carros</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Relatorios">Relatorios</a>
                        <ul>
                            <li><a href="relCar.php" target="_parent">Relatório de Carros</a></li>
                            <li><a href="relCli.php" target="_parent">Relatório de Clientes</a></li>
                            <li><a href="relPark.php" target="_parent">Relatório de Entradas</a></li>    
                        </ul>
                    </li>
                </ul>
            </div>

            <table border="1" id="list">
                <caption>Saida de Carros</caption>
                <thead>
                    <tr>
                        <th>Cliente</th>
                        <th>Cpf</th>
                        <th>Modelo</th>
                        <th>Marca</th>
                        <th>Placa</th>
                        <th>Ano</th>
                        <th>Data/Entrada</th>
                        <th>Data/Saída</th>
                        <th>Valor</th>
                        <th>Opções</th>
                    </tr>
<<<<<<< .mine
                </thead>
                <tbody>
                    <?php
                    include 'action/SearchClosedPark.action.php';
                    if ($park) {
                        foreach ($park as $c) {
                            ?>
                            <tr>
                                <td><?php echo $c->getClients(); ?></td>
                                <td><?php echo $c->getCpf(); ?></td>
                                <td><?php echo $c->getModel(); ?></td>
                                <td><?php echo $c->getMark(); ?></td>
                                <td><?php echo $c->getPlaque(); ?></td>
                                <td><?php echo $c->getYear(); ?></td>
                                <td><?php echo $c->getDatein(); ?></td>
                                <td><?php echo $c->getDateout(); ?></td>
                                <td><?php echo 'R$ ' . number_format($c->getTotal(), 2, ',', '.'); ?></td>
                                <td>
                                    <a href="exitPark.php?id=<?php echo $c->getid() ?>">Saida</a>
                                </td>
                            </tr>
                        <?php }}?>
                </tbody>
            </table>
        </div>
=======
                </thead>
                <tbody>
                    <?php
                    include 'action/SearchPark.action.php';
                    if ($park) {
                        foreach ($park as $c) {
                            ?>
                            <tr>
                                <td><?php echo $c->getClients(); ?></td>
                                <td><?php echo $c->getCpf(); ?></td>
                                <td><?php echo $c->getModel(); ?></td>
                                <td><?php echo $c->getMark(); ?></td>
                                <td><?php echo $c->getPlaque(); ?></td>
                                <td><?php echo $c->getYear(); ?></td>
                                <td><?php echo $c->getDatein(); ?></td>
                                <td><?php echo $c->getDateout(); ?></td>
                                <td><?php echo $c->getTotal(); ?></td>
                                <td>
                                    <a href="exitPark.php?id=<?php echo $c->getid() ?>">Saida</a>
                                </td>
                            </tr>
                        <?php }
                    }else
                        echo "Nenhum registro encontrado."
                        ?>
                </tbody>
            </table>
        </div>
>>>>>>> .r194
    </body>
</html>
